Feature: 法律顾问咨询的生命周期
  作为一个普通用户
  我可以提交法律顾问咨询订单
  这样我可以购买法律顾问服务
  
Background:
Given http "accept" header is "application/json"
  And I make a "post" request to "login" with:
  | username    | password   |
  | 13702325511 | 123456   |
  And the response is in "json" format
  And http "authorization" header exists

Scenario: 普通用户可以成功创建咨询，并且上传文件
When I make a "post" request to "center/question/create/pay_company" with:
  | product_id    | email      |   company_name     | province | city | district | memo | invoice |
  |  1      |  d2263516@gmail.com | 捷辉技术有限公司 | 110000 | 110100 | 110102 | 谢谢你们的帮忙 | Y |
And the response is in "json" format
Then the response status code should be 201

#Scenario: 普通用户可以成功取消咨询 (创建后一个小时内不可以取消)
#When there is a "pay_text" request with status "new"
#And I "cancel" this request with route "center.question.to_cancel"
#Then the response status code should be 400
#And the status of the request is "new"